package com.sunlong.jiangwei.dao;

import com.sunlong.jiangwei.entity.JwCategory;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 孙龙
 * @since 2021-02-19
 */
public interface JwCategoryMapper extends Mapper<JwCategory>,MySqlMapper<JwCategory>{


    @Select("select * from jw_category where category_id = #{categoryId}")
    JwCategory selectById(Long categoryId);
}
